package com.geek.service;

import com.geek.bean.vo.SaveAddressVO;
import com.geek.model.MarketAddress;

import java.util.List;

/**
 * @author 小豪
 * @version 1.0
 * @description
 * @date 2024-06-17 17:28
 */
public interface AddressService {
    List<MarketAddress> list(Integer userId);

    MarketAddress addressDetail(Integer userId, Integer id);

    int deleteById(Integer userId, Integer id);

    int update(Integer userId, SaveAddressVO saveAddress);

    Integer save(Integer userId, SaveAddressVO saveAddress);
    MarketAddress findById(Integer addressId);
    List<MarketAddress> findByAId(Integer addressId);
}
